package com.hzhjhh.util;

import java.util.Timer;

import javax.swing.text.JTextComponent;

/**
 * 定时任务调度工具
 * 
 * @author 12083
 *
 */
public class TimerScheduleTaskUtil {

	public static void time2Show(JTextComponent textComponent) {
		Timer timer = new Timer();
		timer.schedule(new RemindTask(textComponent), 0, 1000);
	}
}
